home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 146 / 146.d81 / t.font studio < prev    next >
Text File  |  2022-08-26  |  21KB  |  818 lines

  1.  
  2.  
  3.         F O N T   S T U D I O
  4.  
  5.    Program and Text by Anthony Rose
  6.  
  7.  
  8.     I suppose it was inevitable that
  9. I would one day write a program such
  10. as this since whenever I have worked
  11. with fonts in the past I would always
  12. run into situations where I would
  13. need features which just were not
  14. available.  So some months back I
  15. decided to do something about it and
  16. write my own font editor, the result
  17. of which is FONT STUDIO -- the font
  18. editor I have always wanted.
  19.  
  20.  
  21.  [So what does FONT STUDIO do?]
  22.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  23.  
  24.     FONT STUDIO has many features
  25. which can make working with fonts
  26. considerably easier than it has been
  27. in the past.  But rather than trying
  28. to give an overview of them all I
  29. think it might be better if we just
  30. begin at the beginning and take
  31. everything one step at a time.  (This
  32. article is gonna be long enough as it
  33. is!)
  34.  
  35.  
  36.  [The Main Screen]
  37.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  38.  
  39.     When you first run FONT STUDIO
  40. you will be greeted by a title
  41. screen.  Press any key and you will
  42. be taken to the main screen.  To the
  43. right you will see your font laid out
  44. in a 16x16 manner.  This in and of
  45. itself opens up a few more
  46. possibilities.  I don't know about
  47. you, but I have never needed to do a
  48. font graphic which was 32 characters
  49. wide.  On the other hand I [have]
  50. wanted to do graphics which were
  51. taller than 8 characters.
  52.  
  53.     To the left of your font is the
  54. test area.  Here you will be able to
  55. place characters in different colors
  56. as needed.  This is really a handy
  57. feature which we will discuss later
  58. in this article.
  59.  
  60.     Above the test area is the
  61. character grid with a enlarged
  62. version of the current character
  63. available for editing.
  64.  
  65.     To the right of the character
  66. grid are a few square sprites and a
  67. pen sprite which I will explain in
  68. greater detail when we discuss using
  69. multicolor mode.
  70.  
  71.     Finally, in the upper right of
  72. the screen is a little fella holding
  73. a sign which should be pretty much
  74. self-explanatory.
  75.  
  76.  
  77.  [Let's Plink Some Pixels]
  78.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  79.  
  80.     You move a joystick in Port Two
  81. in any direction to maneuver around
  82. your font in a pixel by pixel
  83. fashion.  In hi-res mode (the mode
  84. you are initially in) or extended
  85. mode, pressing the fire-button will
  86. toggle pixels either on or off.  This
  87. allows for continuous drawing from
  88. one character to another.  To move
  89. around your font in a character by
  90. character fashion you use the CRSR
  91. keys.
  92.  
  93.     Now while you actually draw using
  94. a joystick in Port Two, you will
  95. press keys for just about everything
  96. else -- lots o' keys.  So what say we
  97. get to 'em.
  98.  
  99.  
  100.  [M - Multicolor Mode]
  101.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  102.  
  103.     Pressing the M key will toggle
  104. multicolor mode.  Drawing in this
  105. mode is slightly different from
  106. either hi-res or extended mode.  For
  107. one thing you will notice the 8x8
  108. character grid will become a 4x8
  109. grid.  This is because in multicolor
  110. mode the pixels in your font become
  111. pixel pairs.  While this does cut
  112. back on horizontal resolution, the
  113. payoff is that each pixel pair can
  114. now be one of 4 different colors.
  115.  
  116.     This is where the square and pen
  117. sprites at the top of the screen come
  118. in.  From left to right they
  119. represent the background, multi 1,
  120. multi 2 and the foreground.  In
  121. multicolor mode instead of turning
  122. pixels either on or off, you select
  123. which color you draw in by pressing a
  124. number key:
  125.  
  126.  0  Pen = Background
  127.  1  Pen = Multicolor 1
  128.  2  Pen = Multicolor 2
  129.  3  Pen = Foreground
  130.  
  131.  Now when you press the fire-button
  132. the current pixel pair will become
  133. whichever multicolor you have
  134. selected, regardless of what it was
  135. before.
  136.  
  137.  
  138.  [X - Extended Background Mode]
  139.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  140.  
  141.     Pressing X will toggle extended
  142. background mode.  Drawing in this
  143. mode is the same as hi-res mode,
  144. except that you are now limited to
  145. using only screen codes 0-63.  The
  146. other characters in your font will be
  147. the same except they will have a
  148. different background color:
  149.  
  150.   0-63     normal background
  151.   64-127   extended color 1
  152.   128-191  extended color 2
  153.   192-255  extended color 3
  154.  
  155.  By the way, you can still edit codes
  156. 64-255 in extended mode, but you
  157. won't see what you've done until you
  158. exit extended mode.  So unless you
  159. like to draw in the dark, don't
  160. bother.
  161.  
  162.  
  163.  [Color Commands]
  164.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  165.  
  166.     You have complete control over
  167. all color aspects of your font and
  168. main screen by using the F-keys:
  169.  
  170.  F1 - Background
  171.  F2 - Border
  172.  F3 - Foreground
  173.  F4 - Character Grid
  174.  F5 - Multi/Extended Color 1
  175.  F6 - Multi/Extended Color 2
  176.  F7 - Extended color 3
  177.  F8 - Pointer & Pen Sprites
  178.  
  179.  In hi-res or extended mode all 16
  180. color choices are available. However,
  181. when using multicolor mode you are
  182. limited to colors 0-7 for the
  183. character grid and foreground.
  184. However, for your font to be in
  185. multicolor mode you need to select
  186. the foreground to color 8 or higher
  187. even though the foreground will
  188. actually be 8 less than that.  (This
  189. is just the way multicolor mode
  190. works.)
  191.  
  192.  
  193.  [The Tools]
  194.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  195.  
  196.     Okay, now that I have you
  197. completely confused (or is it me
  198. that's confused), it might be a good
  199. time to discuss some of the various
  200. tools at your disposal.
  201.  
  202.  
  203.  [B - Buffer Save]
  204.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  205.  
  206.     Using this command will save your
  207. font to memory.  You should do this
  208. often so you will always have a
  209. backup of your font should you goof
  210. something up.
  211.  
  212.  
  213.  [R - Recall]
  214.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  215.  
  216.     This will recall the font you
  217. last saved to the buffer.  While
  218. basically an undo feature, Buffer
  219. Save and Recall are also important
  220. for comparison purposes when used in
  221. tandem with the next two commands.
  222.  
  223.  
  224.  [C - Copy]
  225.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  226.  
  227.     This will copy a character or
  228. group of characters to memory.  Use
  229. the CRSR keys to move to the first
  230. character you want to copy and press
  231. C, then move to the last character
  232. and again press C.
  233.  
  234.  This is the first command we have
  235. discussed which involves pressing a
  236. key twice.  When using commands like
  237. this keep in mind that when a
  238. character is described as the first
  239. character this means it must be a
  240. screen code which is either equal to
  241. or less than the last character.  So
  242. if you wanted to copy your letters
  243. you would press C on A, then on Z.
  244. Copying Z to A will not work.
  245.  
  246.  
  247.  [P - Put]
  248.  [{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}]
  249.  
  250.     Use the CRSR keys to move to
  251. wherever you want to place the
  252. characters you last copied and press
  253. P and they will be put there as long
  254. as there is room in your font.  (Fer
  255. instance, if you last copied 50
  256. characters and you try to put them at
  257. screen code 206 or higher...well,
  258. it's just not going to happen.)
  259.  
  260.  As Copy and Put are two of the more
  261. useful commands, I think I should
  262. explain them in even greater detail.
  263.  
  264.  First of all it is important to know
  265. that they are separate commands.  By
  266. this I mean that you don't have to
  267. put your characters somewhere
  268. immediately after copying them.  This
  269. allows you to not only move
  270. characters around the font you are
  271. working on, but also from one font to
  272. another.  Let me give an example:
  273.  
  274.  [Example 1:] The best way to use
  275. FONT STUDIO is to consider the font
  276. that you create stuff on as your work
  277. font.  Let's say you are working on a
  278. little 3x3 character graphic.  Draw
  279. the graphic in any 3x3 area you like,
  280. and when you are finished use Copy
  281. and Put to move the 9 characters so
  282. that they are all in a row and then
  283. copy them.  Now load your program
  284. font and put the 9 characters
  285. wherever you want them.  If you use
  286. this method your font will go a lot
  287. further and be better organized.
  288.  
  289.  Another aspect of Copy & Put (yes,
  290. there's more) is that it also serves
  291. as another buffer area.  This can be
  292. quite useful when you want to compare
  293. different versions of a graphic.  Let
  294. me give another example:
  295.  
  296.  [Example 2:] When working on
  297. graphics you will want to experiment.
  298. However, experiments can often go
  299. awry.  So before beginning do a
  300. Buffer Save of whatever it is you are
  301. working on.  Now you can go ahead and
  302. conduct your experiment.  When you
  303. want to see how it is going, copy the
  304. graphic or if you prefer, copy the
  305. entire font...it's just as easy.  Now
  306. you can switch between the two
  307. versions by pressing R and P.  If you
  308. like what you've done then that
  309. version should be saved to the buffer
  310. area so you can repeat this process
  311. as often as you need.  When creating
  312. graphics, I will do this many, many
  313. times as w